problem with double to int conversion

welcome to shbcf.ru